import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import router from './router'
import axios from 'axios'
import './assets/css/main.css'


Vue.config.productionTip = false
//默认baseURL
axios.defaults.baseURL='http://47.108.201.43:3000/api/';
//赋值
Vue.prototype.$axios = axios

Vue.use(ElementUI);
Vue.use(router)

// Vue.use(axios);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
